package com.example.malltest.cart.service;



import com.example.malltest.cart.entity.Cart;
import com.example.malltest.cart.entity.CartDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CartService {

    void add(CartDTO cartDTO);

    List<Cart> getList();

    void delete(Integer id);

    void deleteBatch(List<Integer> ids);
}
